package com.qf.pojo;

import lombok.Data;

import javax.persistence.*;

/**
 * @Author Zhy
 * Date on 2020/10/12  19:02
 * @description
 */
/*
### Orderform【患者订单表-收费记录】

id,订单编号(就是挂号单号-外键),订单类型(处方开立-药品零售),应收金额(元),实收金额(元),支付方式(支付宝-微信-现金),退费金额(元),退费方式,收费状态,
属性1,属性2
id,registId,orderType,receivable,actualAmount,payment,refund,refundWay,chargeStatus,
attribute1,attribute2

 */
@Entity
@Data
@Table(name = "orderform")
public class Orderform {
    @Id
    @GeneratedValue(strategy = GenerationType.IDENTITY)
    private Integer id;
    @Column(name = "registid")
    private String registId;
    @Column(name = "ordertype")
    private String orderType;
    private Double receivable;
    @Column(name = "actualamount")
    private Double actualAmount;
    private String payment;
    private Double refund;
    @Column(name = "refundway")
    private String refundWay;
    @Column(name = "chargestatus")
    private String chargeStatus;
    private String attribute1;
    private String attribute2;




}
